
/**
 * AppleIIGo
 * Graphics Tablet Interface Card class
 * (C) 2008 by Marc S. Ressl (mressl@umich.edu)
 * Released under the GPL
 */

#ifndef GRAPHICSTABLETINTERFACECARD_H
#define GRAPHICSTABLETINTERFACECARD_H

#define GRAPHICSTABLETINTERFACECARD_ROM_BYTENUM 0x800

#include "SlotDevice.h"

class GraphicsTabletInterfaceCard : public SlotDevice {
public:
	GraphicsTabletInterfaceCard(class Motherboard * motherboard,
								char * slotDeviceName);
	
	void onMemoryRequested();
	void onMemoryAllocated();
	
	void writeIo(UINT16 address, UINT8 value);
	UINT8 readIo(UINT16 address);
	
	UINT8 readMemory(UINT16 address);
	
private:
	UINT32 romMemoryOffset;
	UINT8 * romMemory;
};

#endif
